package com.wuye.basic.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuye.common.annotation.Excel;
import com.wuye.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 业主对象 wy_owner
 * 
 * @author avalon
 * @date 2024-11-25
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("wy_owner")
public class WyOwner  extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 业主ID */
    @TableId(value = "ownerId",type = IdType.AUTO)
    private Long ownerId;

    /** 业主名称 */
    @Excel(name = "业主名称")
    @TableField("ownerName")
    private String ownerName;

    /** 使用情况 */
    @Excel(name = "使用情况")
    @TableField("usagea")
    private String usagea;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @TableField("phone")
    private String phone;
    @TableField(exist = false)
    private WyHome wyHome;
    @TableField(exist = false)
    private WyBalcony wyBalcony;
    @TableField(exist = false)
    private WyUnit wyUnit;
    @TableField(exist = false)
    private Long num;

    /** 备注 */
    @Excel(name = "备注")
    @TableField("remark")
    private String remark;

    /** 逻辑删除 0不删除 1 删除 */
    @TableLogic
    private Long del;

   
}
